package com.fit.WatchShop.interfaces;

import org.apache.tapestry5.beaneditor.Validate;

import com.fit.WatchShop.beans.Country;
import com.fit.WatchShop.beans.Gender;


public interface User {

	//@Validate("required, minlength=3, maxlength=8")
	public String getUserName();
	public void setUserName(String userName);

	//@Validate("required,minlength=3,maxlength=12")
	public String getPassword();
	public void setPassword(String password);

	public Gender getGender();
	public void setGender(Gender gender);

	public boolean isSubscribe();
	public void setSubscribe(boolean subscribe);

	public String getEmail();
	public void setEmail(String email);

	public Country getCountry();
	public void setCountry(Country country);

	//@Validate("required,min=5,max=120")
	public double getAge();
	public void setAge(double age);
		
}
